package com.rentong.wx.cust.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 支付流水
 * 
 * @author zhangle
 * @email 459343178@qq.com
 * @date 2024-12-24 14:42:32
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "cust_order_pay")
public class CustOrderPayEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 支付流水ID
	 */
	@Id
	private Long payId;
	/**
	 * 支付方式。1：支付宝，2：微信，3：无
	 */
	private Integer payType;
	/**
	 * 订单ID
	 */
	private Long orderId;
	/**
	 * 订单金额
	 */
	private BigDecimal orderAmount;
	/**
	 * 支付金额
	 */
	private BigDecimal payAmount;
	/**
	 * 支付状态
	 */
	private Integer payState;
	/**
	 * 备注
	 */
	private String remark;
	/**
	 * 预支付单号
	 */
	private String prepayId;
	/**
	 * 支付时间
	 */
	private Date payTime;
	/**
	 * 支付单号
	 */
	private String tradeNo;
	/**
	 * 错误码
	 */
	private String failCode;
	/**
	 * 错误信息
	 */
	private String failDesc;
	/**
	 * 客户ID
	 */
	private Long custId;

}
